<?php
/**
* 
*/
class Test
{	
	public $name;

	public function run(){
		echo $this->name.'run........';
	}
	// 静态方法
	public static function demo()
	{
		echo 'demo';
	}
}

$obj= new Test;
$obj->demo();

// Test::demo();

?>